﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 花店管理系统
{
    public partial class Tindex : Form
    {
        public Tindex()
        {
            InitializeComponent();
        }

        private void 开始ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 客户ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 修改密码ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            start.ChangePwd chl = new start.ChangePwd();
            chl.ShowDialog();
        }

        private void 个人信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            start.Person pl = new start.Person();
            pl.ShowDialog();

        }

        private void 添加商品信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Tproduct.Insert_product inl = new Tproduct.Insert_product();
            inl.ShowDialog();
        }

        private void menuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void 修改商品信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Tproduct.Update_product ul = new Tproduct.Update_product();
            ul.ShowDialog();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            Tproduct.Insert_product inl = new Tproduct.Insert_product();
            inl.ShowDialog();
        }

        private void pictureBox3_Click(object sender, EventArgs e)
        {
            start.ChangePwd chl = new start.ChangePwd();
            chl.ShowDialog();
        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {
            start.Person pl = new start.Person();
            pl.ShowDialog();
        }

        private void pictureBox4_Click(object sender, EventArgs e)
        {
            Tproduct.Update_product ul = new Tproduct.Update_product();
            ul.ShowDialog();
        }

        private void 删除商品信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Tproduct.Delete_product dl = new Tproduct.Delete_product();
            dl.ShowDialog();
        }

        private void 审核订单ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Order.Check_Order c1 = new Order.Check_Order();
            c1.ShowDialog();
        }

        private void 查看日记ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Log.Select_Order sl = new Log.Select_Order();
            sl.ShowDialog();
        }

        private void 添加部门信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Department.Insert_department il = new Department.Insert_department();
            il.ShowDialog();
        }

        private void 修改客户信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Customer.Update_Customer cl = new Customer.Update_Customer();
            cl.ShowDialog();
        }

        private void 在线客服ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Customer_Services.Servers servers = new Customer_Services.Servers();
            servers.Show();
        }

        private void 业绩查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Order.Proform pl = new Order.Proform();
            pl.ShowDialog();
        }

        private void label3_Click(object sender, EventArgs e)
        {
            
        }

        private void pictureBox5_Click(object sender, EventArgs e)
        {
            Order.Proform pl = new Order.Proform();
            pl.ShowDialog();
        }

        private void pictureBox7_Click(object sender, EventArgs e)
        {
            Log.Select_Order sl = new Log.Select_Order();
            sl.ShowDialog();
        }

        private void pictureBox8_Click(object sender, EventArgs e)
        {
            geren.Increase_gongao ig = new geren.Increase_gongao();
            ig.ShowDialog();
        }

        private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void 员工管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            geren.Increase_gongao ig = new geren.Increase_gongao();
            ig.ShowDialog();
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}
